<style>
	.text{
		text-align: right;
	}
	
	.zs-letter-table .item{
		float: left;
		height: 55px;
		line-height: 55px;
	}
	.zs-letter-table .link {
		font-size: 0;
	}
	.zs-letter-table .link a{
		display: inline-block;
		padding: 0 20px;
		font-size: 12px;
		font-weight: normal;
		color: #555;
	}
	.zs-letter-table .link a.selected{
		height: 54px;
		line-height: 54px;
		color: #069de8;
		border-bottom: 2px #069de8 solid;
	}
</style>

<div class="zs-side">
	<div class="zs-menu ckxl">
		<div class="item selected">
			<div class="header">外来科研项目入区许可</div>
			<ul class="list">
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwlkyxmsqb'].tabClass['tab1']}" ng-click="gotoById('tab1') && setBpmTab('gzwlkyxmsqb','tab1')">起草受理</a>
				</li>
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwlkyxmsqb'].tabClass['tab2']}" ng-click="gotoById('tab2') && setBpmTab('gzwlkyxmsqb','tab2')">科研科签批</a>
				</li>
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwlkyxmsqb'].tabClass['tab3']}" ng-click="gotoById('tab3') && setBpmTab('gzwlkyxmsqb','tab3')">办公室主任审核</a>
				</li>
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwlkyxmsqb'].tabClass['tab4']}" ng-click="gotoById('tab4') && setBpmTab('gzwlkyxmsqb','tab4')">出具通行单</a>
				</li>
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwlkyxmsqb'].tabClass['tab5']}" ng-click="gotoById('tab5') && setBpmTab('gzwlkyxmsqb','tab5')">分配到管护站</a>
				</li>

			</ul>

		</div>
		<div class="item">
			<div class="header">附件</div>
			<ul class="list">
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzwlkyxmsqb'].tabClass['tab10']}" ng-click="gotoById('tab10') && setTab('gzwlkyxmsqb','tab10')">附件</a>
				</li>
			</ul>
		</div>
	</div>
</div>
<div class="zs-main">
	<!--   起草受理-s -->
	<div class="zs-content">
		<h4 class="content-tilte" id="tab1">起草</h4>
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>单位名称
								</td>
								<td class="left" width="30%" colspan="3">
									<input type="text" ng-model="gzwlkyxmsqb.editRow.dwmc" class="zs-input" style="width: 100%;" ng-show="gzwlkyxmsqb.proauth.qc" />
									<label ng-bind="gzwlkyxmsqb.editRow.dwmc" ng-show="!gzwlkyxmsqb.proauth.qc"></label>

									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="单位名称" required ng-model="gzwlkyxmsqb.editRow.dwmc"
										 name="form_dwmc" /></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>项目名称
								</td>
								<td class="left" width="30%" colspan="3">
									<input type="text" ng-model="gzwlkyxmsqb.editRow.xmmc" class="zs-input" style="width: 100%;" ng-show="gzwlkyxmsqb.proauth.qc" />
									<label ng-bind="gzwlkyxmsqb.editRow.xmmc" ng-show="!gzwlkyxmsqb.proauth.qc"></label>

									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="项目名称" required ng-model="gzwlkyxmsqb.editRow.xmmc"
										 name="form_xmmc" /></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>是否有介绍信（函）
								</td>
								<td class="left" width="30%">
									<a ng-show="gzwlkyxmsqb.proauth.qc">
										<ag-Combobox style="width:180px;height:28px;" para="{	uDictionary:true,
                                        		dictionary:'p_yesorno'}"
										 ng-model="gzwlkyxmsqb.editRow.sfyjsx" text-Value="gzwlkyxmsqb.editRow.sfyjsxName" /></a>
									<label ng-bind="gzwlkyxmsqb.editRow.sfyjsxName" ng-show="!gzwlkyxmsqb.proauth.qc"></label>


									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="是否有介绍信（函）" required ng-model="gzwlkyxmsqb.editRow.sfyjsx"
										 name="form_sfyjsx" /></span>
								</td>

								<td class="text" width="20%">申请编号</td>
								<td class="left" width="30%">
									<input type="text" ng-model="gzwlkyxmsqb.editRow.bh" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc" />
									<label ng-bind="gzwlkyxmsqb.editRow.bh" ng-show="!gzwlkyxmsqb.proauth.qc"></label>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>是否鉴定合作协议
								</td>
								<td class="left" width="30%">
									<a ng-show="gzwlkyxmsqb.proauth.qc">
										<ag-Combobox style="width:180px;height:28px;" para="{	uDictionary:true,
                                        		dictionary:'p_yesorno'}"
										 ng-model="gzwlkyxmsqb.editRow.sjqdhzxy" text-Value="gzwlkyxmsqb.editRow.sjqdhzxyName" ng-show="gzwlkyxmsqb.proauth.qc" /></a>
									<label ng-bind="gzwlkyxmsqb.editRow.sjqdhzxyName" ng-show="!gzwlkyxmsqb.proauth.qc"></label>

									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="是否鉴定合作协议" required ng-model="gzwlkyxmsqb.editRow.sjqdhzxy"
										 name="form_sjqdhzxy" /></span>
								</td>

								<td class="text" width="20%">协议编号</td>
								<td class="left" width="30%">
									<input type="text" ng-model="gzwlkyxmsqb.editRow.xybh" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc" />
									<label ng-bind="gzwlkyxmsqb.editRow.xybh" ng-show="!gzwlkyxmsqb.proauth.qc"></label>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>带队负责人名称
								</td>
								<td class="left" width="30%">
									<input type="text" ng-model="gzwlkyxmsqb.editRow.ddfzrmc" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc" />
									<label ng-bind="gzwlkyxmsqb.editRow.ddfzrmc" ng-show="!gzwlkyxmsqb.proauth.qc"></label>


									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="带队负责人名称" required ng-model="gzwlkyxmsqb.editRow.ddfzrmc"
										 name="form_ddfzrmc" /></span>
								</td>
								<td class="text" width="20%">带队负责人职务名称</td>
								<td class="left" width="30%">
									<input type="text" ng-model="gzwlkyxmsqb.editRow.ddfzrzwmc" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc" />
									<label ng-bind="gzwlkyxmsqb.editRow.ddfzrzwmc" ng-show="!gzwlkyxmsqb.proauth.qc"></label>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>带队负责人联系电话
								</td>
								<td class="left" width="30%">
									<input type="text" ng-model="gzwlkyxmsqb.editRow.ddfzrlxdh" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc" />
									<label ng-bind="gzwlkyxmsqb.editRow.ddfzrlxdh" ng-show="!gzwlkyxmsqb.proauth.qc"></label>

									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="带队负责人联系电话" required ng-model="gzwlkyxmsqb.editRow.ddfzrlxdh"
										 name="form_ddfzrlxdh" /></span>
								</td>

								<td class="text" width="20%">
									<font color="red">*</font>人数
								</td>
								<td class="left" width="30%">
									<input type="text" ng-model="gzwlkyxmsqb.editRow.renshu" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc" />
									<label ng-bind="gzwlkyxmsqb.editRow.renshu" ng-show="!gzwlkyxmsqb.proauth.qc"></label>

									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="人数" required ng-model="gzwlkyxmsqb.editRow.renshu"
										 name="form_renshu" /></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>负责人部门
								</td>
								<td class="left" width="30%">
									<a ng-show="gzwlkyxmsqb.proauth.qc">
										<ag-Combotree class="zs-input" style="width:180px;height: 28px" fn='depEdit' para="{ uDictionary:true,
													dictionary:'p_department',
													pidField:'pid',
													nfn:'schedulefzr',
													leafField:'leaf'}"
										 ng-model="gzwlkyxmsqb.editRow.fzbm" text-Value="gzwlkyxmsqb.editRow.fzbmName" /></a>
									<label ng-bind="gzwlkyxmsqb.editRow.fzbmName" ng-show="!gzwlkyxmsqb.proauth.qc"></label>
									
									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="负责人部门" required ng-model="gzwlkyxmsqb.editRow.fzbm"
										 name="form_sjqdhzxy" /></span>
								</td>
								<td class="text" width="20%">
									<font color="red">*</font>负责人
								</td>
								<td class="left" width="30%">
									<a ng-show="gzwlkyxmsqb.proauth.qc">
										<ag-Combotree class="zs-input" style="width:180px;height: 28px" fn='schedulefzr' para="{ uDictionary:false,
												pidField:'userid',
												checkbox:false,
												valueField:'userid',
												textField:'userName',
												onlyLeafCheck:true,
												bindFn:'gzwlkyxmsqb',
												pfn:'depEdit',
												foreignField:'departmentId',
												editable:true,
												keyField:'userid',
												queryFields:'userid,userName,departmentId',
												pageSize:1200,
												maxNavs:6,
												queryObject:{},
												ssn:'vuserinfo'}"
										 ng-model="gzwlkyxmsqb.editRow.fzrid" ng-change="onchangekyxmFzr(2);" text-Value="gzwlkyxmsqb.editRow.fzr"></ag-Combotree></a>
									<label ng-bind="gzwlkyxmsqb.editRow.fzr" ng-show="!gzwlkyxmsqb.proauth.qc"></label>
									
									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="负责人" required ng-model="gzwlkyxmsqb.editRow.fzrid"
										 name="form_sjqdhzxy" /></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>来访时间
								</td>
								<td class="left" width="30%" colspan="3">
									<span ng-show="gzwlkyxmsqb.proauth.qc">
										<ag-Datebox id='fi_lfsj' showcurday='gzwlkyxmsqb.editRow.FIELD_ISNEW' class="zs-input" style="width:180px;height: 28px"
										 ng-model="gzwlkyxmsqb.editRow.lfsj" ng-show="gzwlkyxmsqb.proauth.qc">
									</span>
									</ag-Datebox>
									<label ng-bind="gzwlkyxmsqb.editRow.lfsj | asDate | date:'yyyy-MM-dd'" ng-show="!gzwlkyxmsqb.proauth.qc"></label>

									~

									<span ng-show="gzwlkyxmsqb.proauth.qc">
										<ag-Datebox id='fi_lfsjjssj' showcurday='gzwlkyxmsqb.editRow.FIELD_ISNEW' class="zs-input" style="width:180px;height: 28px"
										 ng-model="gzwlkyxmsqb.editRow.lfsjjssj" ng-show="gzwlkyxmsqb.proauth.qc">
									</span>
									</ag-Datebox>
									<label ng-bind="gzwlkyxmsqb.editRow.lfsjjssj | asDate | date:'yyyy-MM-dd'" ng-show="!gzwlkyxmsqb.proauth.qc"></label>


									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="来访开始时间" required ng-model="gzwlkyxmsqb.editRow.lfsj"
										 name="form_lfsj" /></span>

									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="来访结束时间" required ng-model="gzwlkyxmsqb.editRow.lfsjjssj"
										 name="form_lfsjjssj" /></span>
								</td>

								<td colspan="2"></td>
							</tr>
							<tr>
								<td class="text" width="20%">活动计划时限</td>
								<td class="left" width="30%" colspan="3">
									<!--	<input type="text" ng-model="gzwlkyxmsqb.editRow.hdjhsx" class="zs-input" 
                                		style="width: 100%;" ng-show="gzwlkyxmsqb.proauth.qc"/>
                                	<label ng-bind="gzwlkyxmsqb.editRow.hdjhsx" 
                                		ng-show="!gzwlkyxmsqb.proauth.qc"></label>-->

									<textarea type="text" ng-model="gzwlkyxmsqb.editRow.hdjhsx" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc"
									 style="width:100%;height: 180px;"></textarea>
									<textarea type="text" style="width:100%;height:100px" ng-model="gzwlkyxmsqb.editRow.hdjhsx" readonly="true"
									 class="zs-input" ng-show="!gzwlkyxmsqb.proauth.qc"></textarea>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">活动范围</td>
								<td class="left" width="30%" colspan="3">
									<!--<input type="text" ng-model="gzwlkyxmsqb.editRow.hdfw" class="zs-input" 
                                		style="width: 100%;" ng-show="gzwlkyxmsqb.proauth.qc"/>
							   		<label ng-bind="gzwlkyxmsqb.editRow.hdfw" 
                                		ng-show="!gzwlkyxmsqb.proauth.qc"></label>-->
									<textarea type="text" ng-model="gzwlkyxmsqb.editRow.hdfw" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc"
									 style="width:100%;height: 180px;"></textarea>
									<textarea type="text" style="width:100%;height:100px" ng-model="gzwlkyxmsqb.editRow.hdfw" readonly="true" class="zs-input"
									 ng-show="!gzwlkyxmsqb.proauth.qc"></textarea>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>提供活动方案情况
								</td>
								<td class="left" width="30%" colspan="3">
									<!--	<input type="text" ng-model="gzwlkyxmsqb.editRow.tjhdfaqk" class="zs-input" 
                                		style="width: 100%;" ng-show="gzwlkyxmsqb.proauth.qc"/>
                                	<label ng-bind="gzwlkyxmsqb.editRow.tjhdfaqk" 
                                		ng-show="!gzwlkyxmsqb.proauth.qc"></label>-->

									<textarea type="text" ng-model="gzwlkyxmsqb.editRow.tjhdfaqk" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc"
									 style="width:100%;height: 180px;"></textarea>
									<textarea type="text" style="width:100%;height:100px" ng-model="gzwlkyxmsqb.editRow.tjhdfaqk" readonly="true"
									 class="zs-input" ng-show="!gzwlkyxmsqb.proauth.qc"></textarea>

									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="提供活动方案情况" required ng-model="gzwlkyxmsqb.editRow.tjhdfaqk"
										 name="form_tjhdfaqk" /></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">
									<font color="red">*</font>项目简介
								</td>
								<td class="left" width="30%" colspan="3">
									<textarea type="text" ng-model="gzwlkyxmsqb.editRow.xmjj" class="zs-input" ng-show="gzwlkyxmsqb.proauth.qc"
									 style="width:100%;height: 180px;"></textarea>
									<textarea type="text" style="width:100%;height:100px" ng-model="gzwlkyxmsqb.editRow.xmjj" readonly="true" class="zs-input"
									 ng-show="!gzwlkyxmsqb.proauth.qc"></textarea>

									<span ng-show="false"><input hide-novalidate="gzwlkyxmsqb.proauth.qc" alias="项目简介" required ng-model="gzwlkyxmsqb.editRow.xmjj"
										 name="form_xmjj" /></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%">注意事项</td>
								<td class="left" width="30%" colspan="3">
									<textarea type="text" style="width:100%;height:100px" ng-model="gzwlkyxmsqb.editRow.zysx" class="zs-input"
									 ng-show="gzwlkyxmsqb.proauth.qc"></textarea>

									<textarea type="text" style="width:100%;height:100px" ng-model="gzwlkyxmsqb.editRow.zysx" readonly="true" class="zs-input"
									 ng-show="!gzwlkyxmsqb.proauth.qc"></textarea>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>

		<h4 class="content-tilte" id="tab2">科研科签批</h4>
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="key" width="25%">
									<span class="mark">科研科签批</span>
								</td>
								<td width="75%">

									<span ng-repeat="h in gzwlkyxmsqb.process.usertask2.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>

									<br ng-if="gzwlkyxmsqb.process.usertask2.userEdit" ng-show="gzwlkyxmsqb.proauth.kssp" />
									<textarea type="text" style="width:100%;height: 160px;" ng-if="gzwlkyxmsqb.process.usertask2.userEdit" ng-show="gzwlkyxmsqb.proauth.kssp"
									 ng-model="gzwlkyxmsqb.process.usertask2.editRow.optcontent"></textarea>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>

		<h4 class="content-tilte" id="tab3">办公室主任审核</h4>
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="key" width="25%">
									<span class="mark">办公室签批</span>
								</td>
								<td width="75%">

									<span ng-repeat="h in gzwlkyxmsqb.process.usertask3.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>

									<br ng-if="gzwlkyxmsqb.process.usertask3.userEdit" ng-show="gzwlkyxmsqb.proauth.bgssp" />
									<textarea type="text" style="width:100%;height: 160px;" ng-if="gzwlkyxmsqb.process.usertask3.userEdit" ng-show="gzwlkyxmsqb.proauth.bgssp"
									 ng-model="gzwlkyxmsqb.process.usertask3.editRow.optcontent"></textarea>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>

		<h4 class="content-tilte" id="tab4">出具通行单</h4>
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td>
									需求确认中
									<!--  <input type="button" class="zs-btn orange" value="打印行政许可凭证"
						                ng-click="editRow('gzwlkyxmsqb', gzwlkyxmsqb.sRows[0]) && openWindow('xzxkpz');"/>-->
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>

		<h4 class="content-tilte" id="tab5">分配到管护站</h4>
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td>
									需求确认中
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>

		<h4 class="content-tilte" id="tab10">附件</h4>
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<!--<tr>
    							<td style="width: 8%;">
    								序号
    							</td>
    							<td style="width: 25%;">
    								名称
    							</td>
    							<td <td style="width: 77%;">
    								操作
    							</td>
    						</tr>-->
							<tr>

								<!--<td>1</td>-->
								<td>附件</td>
								<td>
									<ag-Upload ng-model="gzwlkyxmsqb.editRow.bgszrsh" para="{}"></ag-Upload>
								</td>
							</tr>

						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<!--   起草受理-e -->
</div>